.NET Aspire Sample Code

WaitingForDependencies in .NET Aspire

This examples shows how to extend the .NET Aspire application model to enable waiting for dependencies to be available before starting the application. It uses ASP.NET Core's health checks API to determine if specific resources are available after they are considered running.

Database migrations with Entity Framework Core sample app

This sample demonstrates how to use Entity Framework Core's migrations feature with Aspire.

Testing .NET Aspire apps

In this article, you'll learn how to create a test project, write, and run tests for your .NET Aspire apps. The tests in this article are not unit tests, but rather functional or integration tests. .NET Aspire include an xUnit testing project template that you can use to test your .NET Aspire apps. The testing project template is based on the xUnit testing framework and includes a sample test that you can use as a starting point for your tests.

Official .NET Aspire Samples

Official Samples for .NET Aspire with source code.

ASP.NET Community Standup: .NET Aspire Update - April

Let's get an update from the team on the latest .NET Aspire previews!

Enhancing .NET Aspire Observability with Seq

.NET Aspire is a toolkit for development and deployment of microservice applications. It is a local orchestrator with support for deployment to production-grade orchestrators like Azure Container Apps or Kubernetes. One great thing about Aspire is the built-in local development dashboard. It shows the resources that are included in the